package com.nineclock.system.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.nineclock.system.dto.SysRegisterDTO;
import com.nineclock.system.pojo.SysUser;

public interface SysUserService extends IService<SysUser> {


    /**
     * 检查手机号是否存在
     * @param mobile
     * @return
     */
    Boolean checkMobileExists(String mobile);


    /**
     * 注册系统用户
     */
    Long register(SysRegisterDTO dto);
}
